| Fully Qualified Name: | Zend\Router\RouteStackInterface | 
| Extends: | RouteInterface | 
| Name | Description | Defined By | 
|---|---|---|
| addRoute() | Add a route to the stack. | RouteStackInterface | 
| addRoutes() | Add multiple routes to the stack. | RouteStackInterface | 
| assemble() | Assemble the route. | RouteInterface | 
| factory() | Create a new route with given options. | RouteInterface | 
| match() | Match a given request. | RouteInterface | 
| removeRoute() | Remove a route from the stack. | RouteStackInterface | 
| setRoutes() | Remove all routes from the stack and set new ones. | RouteStackInterface | 
Add a route to the stack.
| Parameter Name | Type | Description | 
|---|---|---|
| $name | string | |
| $route | mixed | |
| $priority | int | 
Returns: \RouteStackInterface
Add multiple routes to the stack.
| Parameter Name | Type | Description | 
|---|---|---|
| $routes | array|\Traversable | 
Returns: \RouteStackInterface
Assemble the route.
| Parameter Name | Type | Description | 
|---|---|---|
| $params | array | |
| $options | array | 
Returns: mixed
Create a new route with given options.
| Parameter Name | Type | Description | 
|---|---|---|
| $options | array|\Traversable | 
Returns: \RouteInterface
Match a given request.
| Parameter Name | Type | Description | 
|---|---|---|
| $request | \Request | 
Returns: \RouteMatch|null
Remove a route from the stack.
| Parameter Name | Type | Description | 
|---|---|---|
| $name | string | 
Returns: \RouteStackInterface
Remove all routes from the stack and set new ones.
| Parameter Name | Type | Description | 
|---|---|---|
| $routes | array|\Traversable | 
Returns: \RouteStackInterface